package com.mall.user.api;

import com.mall.user.entity.param.RoleAddParam;
import com.mall.user.entity.param.RoleEditParam;
import com.mall.user.entity.vo.RoleVO;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author wuyijie
 * @description: TODO 角色RoleAPI定义
 * @date 2021/6/20 18:33
 */
public interface RoleApi {
    RoleVO add(@RequestBody RoleAddParam roleAddParam);

    int deleteById(@RequestParam int id);

    RoleVO edit(@RequestBody RoleEditParam roleEditParam);

    RoleVO queryById(@RequestParam int id);
}
